package com.wy._05Random.unequal;

/**
 * @author 吴宇~
 * @motto 我亦无他，唯手熟尔。
 * @edition jdk1.8
 * @reflection 0-1 喧闹任其喧闹，自由我自为之，我自风情万种，与世无争。
 * @date 2024/08/25/19:12
 * @target 心若有所向往，何惧道阻且长
 */

/**
 * 不公平思路的基本bean
 */
public class ChanceObj {
    //不公平对象的概率
    private int chance;
    //不公平对象
    private Object object;
    //标识名字
    private String targetName;

    public ChanceObj(int chance, Object object, String targetName) {
        this.chance = chance;
        this.object = object;
        this.targetName = targetName;
    }

    public ChanceObj() {
    }

    public int getChance() {
        return chance;
    }

    public void setChance(int chance) {
        this.chance = chance;
    }

    public Object getObject() {
        return object;
    }

    public void setObject(Object object) {
        this.object = object;
    }

    public String getTargetName() {
        return targetName;
    }

    public void setTargetName(String targetName) {
        this.targetName = targetName;
    }
}
